package com.qing.library_manager.service.manager.manager;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qing.library_manager.domain.dto.ManagerLoginDTO;
import com.qing.library_manager.domain.dto.ManagerResgisterDTO;
import com.qing.library_manager.domain.entity.Manager;
import com.qing.library_manager.common.util.ResponseResult;

/**
 * <p>TODO</p>
 *
 * @author Yjx
 * @version 1.0.0
 * @since 2021/11/25
 **/
public interface managerService extends IService<Manager> {

    /**
     * 管理员登录
     * @param managerLoginDTO
     * @return
     */
    ResponseResult mangerLogin(ManagerLoginDTO managerLoginDTO);

    /**
     * 添加管理员
     * @return
     */
    ResponseResult managerAdd(ManagerLoginDTO managerLoginDTO);

}
